package e2q.liferay.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
// default package

import org.hibernate.annotations.GenericGenerator;



/**
 * E2qLiUsersOrgs entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "Users_Orgs")
@IdClass(e2q.liferay.domain.E2qLiUsersOrgsId.class)
public class E2qLiUsersOrgs  implements java.io.Serializable {


    // Fields    

	private E2qLiUser user;
    private E2qLiOrganization organization;


    // Constructors

    /** default constructor */
    public E2qLiUsersOrgs() {
    }

    @Id
	@GeneratedValue(generator = "pk")
	@Column(name = "userId")
	@GenericGenerator(name = "pk", strategy = "e2q.web.orm.IdGenerator")
	public E2qLiUser getUser() {
		return user;
	}


	public void setUser(E2qLiUser user) {
		this.user = user;
	}

    @Id
	@GeneratedValue(generator = "pk")
	@Column(name = "organizationId")
	@GenericGenerator(name = "pk", strategy = "e2q.web.orm.IdGenerator")
	public E2qLiOrganization getOrganization() {
		return organization;
	}


	public void setOrganization(E2qLiOrganization organization) {
		this.organization = organization;
	}

    

    







}